package com.dms.modules.product.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "商品参数DTO", description = "商品参数数据传输对象")
public class ProductParameterDTO {

    @NotBlank(message = "参数名称不能为空")
    @ApiModelProperty("参数名称")
    private String name;

    @NotBlank(message = "参数值不能为空")
    @ApiModelProperty("参数值")
    private String value;
} 